using System;

namespace MsBuildAxTasks
{
    public class AxNotInstalledException : Exception
    {
        // Base Exception class constructors.
        public AxNotInstalledException()
        {
            LogException();
        }

        public AxNotInstalledException(String message) : base(message) 
        {
            LogException();
        }

        public AxNotInstalledException(String message, Exception innerException) :base(message, innerException) 
        {
            LogException();
        }

        protected void LogException()
        {
            Console.WriteLine("[AxNotInstalledException.LogException] " + "Logging '{0}'", Message);
        }
    }
}